#include <time.h>
#include <math.h>
#include <stdlib.h>
#include <string.h>

#include "MEM_guardedalloc.h"
#include "BLO_sys_types.h" // for intptr_t support
#include "DNA_node_types.h"
#include "DNA_screen_types.h"
#include "DNA_space_types.h"
#include "DNA_scene_types.h"
#include "DNA_sound_types.h"
#include "DNA_sequence_types.h"
#include "DNA_userdef_types.h"
#include "DNA_packedFile_types.h"

#include "BKE_global.h"
#include "BKE_main.h"
#include "BKE_node.h"
#include "BKE_library.h"
#include "BKE_scene.h"
#include "BKE_sound.h"
#include "BKE_packedFile.h"
#include "BKE_utildefines.h"
#include "BKE_idprop.h"

#include "BLI_blenlib.h"

#include "BSE_filesel.h"

#include "BIF_gl.h"
#include "BIF_graphics.h"
#include "BIF_glutil.h"
#include "BIF_interface.h"
#include "BIF_imasel.h"
#include "BIF_keyval.h"
#include "BIF_mainqueue.h"
#include "BIF_mywindow.h"
#include "BIF_meshtools.h"
#include "BIF_resources.h"
#include "BIF_renderwin.h"
#include "BIF_screen.h"
#include "BIF_space.h"
#include "BIF_toolbox.h"
#include "BIF_editseq.h"

#include "BIF_butspace.h"

#include "mydevice.h"
#include "blendef.h"
#include "butspace.h"





static void genetic_panel_gp()
{
	uiBlock *block;
	int xco = 10;

	block= uiNewBlock(&curarea->uiblocks, "genetic_panel_gp", UI_EMBOSS, UI_HELV, curarea->win);

	uiNewPanelTabbed("Panel2", "My context");
	if(uiNewPanel(curarea, block, "Panel 1", "My context",0, 0, 318, 204)==0) return;

	uiDefBut(block, BUT,B_GP_RNDPOP,"My Button",369, 164, 191,37, 0, 0, 0, 0, 0, "My button in my panel");

}

void genetic_panels()
{
	genetic_panel_gp();
	//genetic_panel_ga();
}
